package com.umfb.bootstrap.commons;

/**
 * Created by zcah on 18-5-21.
 */
public class Order {
    /**
     * 对应的是 columns数组，从0开始
     */
    private int column;

    /**
     * 排序的方式， desc 是降序 asc升序
     */
    private String dir;

    public Order() {
        super();
    }

    public Order(int column, String dir) {
        super();
        this.column = column;
        this.dir = dir;
    }

    public int getColumn() {
        return column;
    }

    public void setColumn(int column) {
        this.column = column;
    }

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }
}
